﻿
#region Using Statements

using System;
using System.Collections.Generic;

using Microsoft.Xna.Framework;

using Freeform;

#endregion


namespace Client
{
    public class Background : World
    {

        #region Members

        private Entity2D Image { get; set; }

        #endregion


        #region Initialisation

        public Background(Freeform.Game Game)
            : base(Game)
        {
            BackgroundColour = Color.White;

            Image = new Entity2D(this);
            Image.Position = new Vector2(240, 180);
            Image.Size = new Vector2(480, 360);
            new Actor2D_Image(Image, new AnimationSet2D(new Animation2D("Textures/Menus/Delta")));

            Viewport2D View = new Viewport2D(this);
            View.Camera.Size = new Vector2(480, 360);
            View.Depth = 1f;
            View.ColourOverlay = new Color(Vector4.One * 0.2f);
        }

        #endregion

    }
}